package com.itheima.health.service;

import com.itheima.health.entity.PageResult;
import com.itheima.health.pojo.Permission;
import com.itheima.health.pojo.Role;

import java.util.List;

public interface RoleService {



    PageResult pageQuery(Integer currentPage, Integer pageSize, String queryString);

    void deleteById(Integer id);

    Role findById(Integer id);

    

    List<Role> findAll();

    void add(Role role, Integer[] permissionIds, Integer[] menuIds);


    void edit22(Role role, Integer[] permissionIds, Integer[] menuIds);
}
